<!DOCTYPE html>

<head>
    <meta lang="zh-CN">
    <meta charset="utf-8">
    <title>手机商城</title>
</head>
<html>
<div class="title">手机</div>
<div class="comtent">
    <ul>
        <li>
            <div>
                <img src="./images/001.png" alt="">
                <div class="connten">
                    <ul>
                        <li>Redmi Note 8 Pro</li>
                        <li>6400万四摄</li>
                        <li>￥1399起</li>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div>
                <img src="./images/002.png" alt="">
                <div class="connten">
                    <ul>
                        <li>Redmi Note 8</li>
                        <li>千元4800万四摄</li>
                        <li>￥999起</li>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div>
                <img src="./images/003.png" alt="">
                <div class="connten">
                    <ul>
                        <li>Redmi K20 Pro 尊享版</li>
                        <li>高通骁龙</li>
                        <li>￥2699起</li>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div>
                <img src="./images/004.png" alt="">
                <div class="connten">
                    <ul>
                        <li>红米Note 7</li>
                        <li>18个月超长质保</li>
                        <li>￥1699起</li>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div>
                <img src="./images/005.png" alt="">
                <div class="connten">
                    <ul>
                        <li>Redmi 7</li>
                        <li>18天超长续航</li>
                        <li>￥699起</li>
                    </ul>
                </div>
            </div>
        </li>
    </ul>
</div>
<div class="redmi">
    <img src="./images/006.jpg" alt="">
</div>

</html>

<style>
    body {
        background: #eee;
        text-align: center;
    }

    .title {
        margin: 50px 0;
        display: inline-block;
        height: 90px;
        width: 90px;
        font-size: 30px;
        font-family: "黑体";
        font-weight: 900;
        border-radius: 50%;
        text-align: center;
        line-height: 90px;
        background-image: repeating-linear-gradient(to right, #888 30%, #fff 60%);
    }

    li {
        list-style: none;
    }

    .comtent {
        display: block;
        text-align: center;
    }

    .comtent>ul>li {
        display: inline-block;
        position: relative;
        padding: 40px;
        height: 200px;
        width: 160px;
        text-align: center;
        margin-left: 10px;
    }

    .comtent>ul>li:hover {
        border-radius: 40% 20px 40% 20px;
        background: #fff;
        box-shadow: 2px 2px 2px #555,
            3px 3px 3px #999;
    }

    li img {
        height: 150px;
        width: 150px;
    }

    .connten {
        position: absolute;
        margin-top: 5px;
        text-align: center;
    }

    .connten>li {
        padding: 0;
        margin: 0;
    }

    li>div {
        height: 200px;
        width: 150px;
        /* background: #164a2e; */
    }

    .connten li:nth-child(1) {
        display: block;
        /* position: absolute;
        margin:0; */
        width: 100%;
        font-weight: 600;
        font-size: 16px;
        font-family: "黑体";
        text-align: center;
        /* background: #129e53; */
    }

    .connten li:nth-child(2) {
        font-size: 12px;
        color: #888;
    }

    .connten li:nth-child(3) {
        font-weight: 600;
        font-size: 12px;
        color: #e48f49
    }

    .redmi {
        display: inline-block;
        background: #129e53;
        padding: 15px;
    }
</style>